package com.cskaoyan.controller;

import com.cskaoyan.bean.BaseRespVo;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author stone
 * @date 2022/09/01 09:50
 */
@Controller
public class UserController {

    @RequestMapping("user/login")
    @ResponseBody
    public BaseRespVo login() {
        return BaseRespVo.ok("login");
    }
    @RequestMapping("user/remove")
    @ResponseBody
    public BaseRespVo remove() {
        return BaseRespVo.ok("remove");
    }
    @RequestMapping("user/modify")
    @ResponseBody
    public BaseRespVo modify() {
        return BaseRespVo.ok("modify");
    }
    @RequestMapping("user/register")
    @ResponseBody
    public BaseRespVo register() {
        return BaseRespVo.ok("register");
    }
}
